package com.woniuxy.commons.core.exception;

import lombok.Data;

/**
 * 自定义异常类
 */
@Data
public class SchoolException extends RuntimeException {
    private Integer code;
    public SchoolException(Integer code, String message) {
        super(message);
        this.code = code;
    }

}
